<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>茶叶销售管理系统</title>
<link rel="stylesheet"
	href="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/css/bootstrap.min.css">
<script
	src="http://cdn.static.runoob.com/libs/jquery/2.1.1/jquery.min.js"></script>
<script
	src="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>

	<nav class="navbar navbar-default" role="navigation">
	<div class="container-fluid">
		<div class="navbar-header">
			<button type="button" class="navbar-toggle" data-toggle="collapse"
				data-target="#example-navbar-collapse">
				<span class="sr-only">切换导航</span> <span class="icon-bar"></span> <span
					class="icon-bar"></span> <span class="icon-bar"></span>
			</button>
			<a class="navbar-brand" href="reset.action">茶叶销售管理系统-管理员</a>
		</div>
		<div class="collapse navbar-collapse" id="example-navbar-collapse">
			<ul class="nav navbar-nav">
				<c:if test="${admin == null }">
					<li><a href="login.jsp">登录</a></li>
					<li><a href="findAllTea.action">茶叶商品查询</a></li>
				</c:if>
				<c:if test="${admin != null }">
					<li><a href="findAllTeaMess.action">茶叶商品管理</a></li>
					<li><a href="userMessage.action">用户信息查看</a></li>
					<li><a href="getOrderList.action">订单查看</a></li>
					<li><a href="adminMessage.jsp">个人信息</a></li>
					<li><a href="changePwd.jsp">修改密码</a></li>
					<c:if test="${admin.privilege == 1 }">
						<li><a href="register.jsp">管理员注册</a></li>
						<li><a href="findAllAdmin.action">查看管理员列表</a></li>
					</c:if>
				</c:if>
			</ul>
		</div>
	</div>
	</nav>

</body>
</html>